//
//  CarouselView.h
//  itboye_rjy_ios
//
//  Created by pro on 16/1/15.
//  Copyright © 2016年 mc. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "CarouselModel.h"
/*
 首页轮播视图
 */
@interface CarouselView : UIView

/**
 *  @param duration 轮播时间间隔
 *  @param amount   轮播数量
 */
- (instancetype)initWithFrame:(CGRect)frame
                timerDuration:(CGFloat)duration
               carouselAmount:(NSInteger)amount;

@property (nonatomic, assign) BOOL isSquare; // 商品详情用的是正方形
@property (nonatomic, strong) NSArray *modelAry; // 轮播属性model数组
@property (nonatomic, strong) NSArray *imgUrlstrAry; // 轮播图片urlstr


@end
